﻿using System.Collections.Generic;
using T.FAS.Runtime.Metadata.Entity.DataModel;
using T.FAS.Runtime.Base.Entity;

namespace T.FAS.Runtime.DataAccess.Engine.ValidateChecker.Entity
{
    public class ValidateCheckElement : IValidateCheckElement
    {
        public string Name { get; set; }
        public DataType DataType { get; set; }
        public bool IsAllowNull { get; set; }
        public string DefaultValue { get; set; }
        public int Length { get; set; }
        public int Precision { get; set; }
        public bool IsReference { get; set; }
        public bool IsRefDataObject { get; set; }
        public string RefObjectID { get; set; }
        public Dictionary<string, object> ElementExtInfo { get; set; }
        public DataColumnValidateRule ValidateRule { get; set; }
    }
}
